From: Jasper St. Pierre Date: Mon, 18 Aug 2014 17:31:31 +0000 (-0400) Subject: altTab: Fix WindowSwitcherPopup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2248 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=93c5e6d97e3fcaeb75e739a5bd741b8133a96ccb;p=gnome-shell.git altTab: Fix WindowSwitcherPopup The "backwards" parameter needs to be dropped here as well. --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index c734deaca..efbb23827 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -400,9 +400,9 @@ const WindowSwitcherPopup = new Lang.Class({ this._select(1); }, - _keyPressHandler: function(keysym, backwards, action) { + _keyPressHandler: function(keysym, action) { if (action == Meta.KeyBindingAction.SWITCH_WINDOWS) { - this._select(backwards ? this._previous() : this._next()); + this._select(this._next()); } else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD) { this._select(this._previous()); } else { diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index 2d4ec2ab3..ccb774de3 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -178,7 +178,7 @@ const SwitcherPopup = new Lang.Class({ return mod(this._selectedIndex - 1, this._items.length); }, - _keyPressHandler: function(keysym, backwards, action) { + _keyPressHandler: function(keysym, action) { throw new Error('Not implemented'); },